package cn.zwk.product.service;

import cn.zwk.product.vo.AttrResVo;
import cn.zwk.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.zwk.common.utils.PageUtils;
import cn.zwk.product.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author zhuwenkang
 * @email zhuwenkang@gmail.com
 * @date 2022-12-30 22:47:10
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils queryBaseAttrPage(Map<String, Object> params, Long catelogId);

    PageUtils querySaleAttrPage(Map<String, Object> params, Long catelogId);


    AttrResVo getAttrInfo(Long attrId);

    void saveAttr(AttrVo attrVo);

    void updateAttr(AttrVo attrVo);
}

